<?php

namespace JsonLowCode\UI;

use JsonLowCode\Helps\Random;
use JsonLowCode\Schema;
use JsonLowCode\UI;

class VueRender extends Schema
{
    protected string $componentName = "VueRender";

    protected array $options = [];

    public function __construct()
    {
        parent::__construct();
        $this->prop("key","VueRender_".Random::alpha(8));
    }

    public function options(mixed $options): static
    {
        return $this->prop('options',UI::content($options)->toJson());
    }



}
